﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebPartPages;

namespace SharePointSearchBench.Web.WebParts
{
    public class SearchBenchResultsStylesWebPart : WebPart
    {
        protected override void RenderWebPart(System.Web.UI.HtmlTextWriter output)
        {
            output.WriteLine("\n\n");
            output.WriteLine("<!-- BEGIN SHAREPOINT SEARCH BENCH RESULT STYLES -->\n");
            output.WriteLine("<style>\n");

            output.WriteLine(".spsb-result{\n");
            output.WriteLine("border: dashed 1px #333333;\n");
            output.WriteLine("}\n");

            output.WriteLine("</style>\n");
            output.WriteLine("<!-- END SHAREPOINT SEARCH BENCH RESULT STYLES -->\n");
            output.WriteLine("\n\n");
        
        }
    }
}
